import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Login from '../views/logins.vue'
import DetailedClose from '../views/detailedClose.vue'
// import ddd from '../views/ddd.vue'


Vue.use(VueRouter)

const routes = [{
    path: '/',
    name: 'login',
    component: Login

},
{
    path: '/aa',
    name: 'aa',
    component: () =>
        import('@/views/test/DD.vue')
},
//沥青详情跳转
{
    path: '/pitchDetails',
    name: 'pitchDetails',
    component: () =>
        import('@/views/pitchManage/dyMonitorManage/pitchDetails/pitchDetails.vue')
},
{
    path: '/detailedClose',
    name: 'detailedClose',
    component: DetailedClose

},
{ // 大屏
    path: '/bigScreen',
    name: 'bigScreen',
    component: () =>
        import('../views/bigScreen/index.vue'),
    meta: {
        requiresAuth: false
    },
},
{ // 大屏
    path: '/bigScreens',
    name: 'bigScreens',
    component: () =>
        import('../views/bigScreens/index.vue'),
    meta: {
        requiresAuth: false
    },
},
// { // 地图测试
//     path: '/map',
//     name: 'map',
//     component: () =>
//         import('../views/map/index.vue'),
//         meta: {
//             requiresAuth: true
//         },
// },
{ // 不合格报告管理--查看
    path: '/unqualifiedReportSingleSign',
    name: 'unqualifiedReportSingleSign',
    component: () =>
        import('../views/testDetectionManage/unqualifiedReportSingleSign/index.vue')
},
{
    path: '/loginfree', //免登陆
    name: 'loginfree',
    component: () =>
        import('../views/loginfree.vue')
},
{
    path: '/loginHttps', //免登陆
    name: 'loginHttps',
    component: () =>
        import('../views/loginHttps.vue')
},
{
    path: '/home',
    name: 'Home',
    component: Home,
    // redirect: "/aaa",
    children: [{
        path: '/aa', //楠楠测试
        name: 'aaa',
        component: () =>
            import('../views/test/aa.vue')
    },
    {
        path: '/table', //表格测试
        name: 'bbb',
        component: () =>
            import('../views/test/table.vue')
    }, {
        path: '/bb', //娜娜测试
        name: 'b',
        component: () =>
            import('../views/test/bb.vue')
    }, {
        path: '/tree', //树状图测试
        name: 'tree',
        component: () =>
            import('../views/test/tree.vue')
    }, {
        path: '/select', //下拉框测试
        name: 'select',
        component: () =>
            import('../views/test/select.vue')
    }, {
        path: '/upload', //文件上传
        name: 'upload',
        component: () =>
            import('../views/test/upload.vue')
    },
    // 
    {
        path: '/codeGenerator', //代码生成器
        name: 'codeGenerator',
        component: () =>
            import('../views/SysManage/minjManage/codeGenerator.vue')
    },
    {
        path: '/tt', //代码生成器
        name: 'tt',
        component: () =>
            import('../views/test/tt.vue')
    },
    {
        path: '/zl', //代码生成器
        name: 'zl',
        component: () =>
            import('../views/test/zl.vue')
    },
    {
        path: '/mould', //代码生成器
        name: 'mould',
        component: () =>
            import('../views/test/mould.vue')
    },
    {
        path: '/rrrr', //代码生成器
        name: 'rrrr',
        component: () =>
            import('../views/test/rrrr.vue')
    },
    // 
    // {
    //     path: '/Home1', //代码生成器
    //     name: 'Home1',
    //     component: () =>
    //         import('../views/test/Home1.vue')
    // },
    // AMapUI
    {
        path: '/index', //试验检测依据管理-----查看
        name: 'index',
        component: () =>
            import('../views/index.vue')
    },

    // 系统业务数据字典

    {
        path: '/experiment', //试验检测依据管理-----查看
        name: 'experiment',
        component: () =>
            import('../views/currencyManage/experiment'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/experimentText', //试验检测依据管理-----编辑
        name: 'experimentText',
        component: () =>
            import('../views/currencyManage/experimentText'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/sample', //样品种类在线管理-----查看
        name: 'sample',
        component: () =>
            import('../views/currencyManage/sample'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/instrument', //回弹仪器设备管理-----查看
        name: 'instrument',
        component: () =>
            import('../views/currencyManage/instrument'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/instrumentText', //回弹仪器设备管理-----编辑
        name: 'instrumentText',
        component: () =>
            import('../views/currencyManage/instrumentText'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/ProjectPage', //标段回弹工程划分-----查看
        name: 'ProjectPage',
        component: () =>
            import('../views/currencyManage/ProjectPage.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/ProjectPageText', //标段回弹工程划分-----编辑
        name: 'ProjectPageText',
        component: () =>
            import('../views/currencyManage/ProjectPageText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 系统业务数据字典
    // 工程结构现场检测
    // 工程结构现场检测之混凝土回弹
    {
        path: '/Control-1', //回弹检测结果管控——1
        name: 'Control-1',
        component: () =>
            import('../views/PCManage/betonManage/Control-1.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Control-1Text', //回弹检测结果管控——1
        name: 'Control-1Text',
        component: () =>
            import('../views/PCManage/betonManage/Control-1Text.vue'),
        meta: {
            requiresAuth: true
        },
    },

    {
        path: '/Control-2', //回弹检测结果管控——2
        name: 'Control-2',
        component: () =>
            import('../views/PCManage/betonManage/Control-2.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Control-2Text', //回弹检测结果管控——2
        name: 'Control-2Text',
        component: () =>
            import('../views/PCManage/betonManage/Control-2Text.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Control-3', //回弹检测结果管控——3
        name: 'Control-3',
        component: () =>
            import('../views/PCManage/betonManage/Control-3.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Control-3Text', //回弹检测结果管控——3
        name: 'Control-3Text',
        component: () =>
            import('../views/PCManage/betonManage/Control-3Text.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 工程结构现场检测之混凝土回弹
    // 工程结构现场检测之钢筋保护层检测
    {
        path: '/Steel-1', //钢筋保护层检测——1--查看
        name: 'Steel-1',
        component: () =>
            import('../views/PCManage/coverManage/Steel-1.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Steel-1Text', //钢筋保护层检测——1--编辑
        name: 'Steel-1Text',
        component: () =>
            import('../views/PCManage/coverManage/Steel-1Text.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Steel-2', //钢筋保护层检测——2--查看
        name: 'Steel-2',
        component: () =>
            import('../views/PCManage/coverManage/Steel-2.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Steel-2Text', //钢筋保护层检测——2--编辑
        name: 'Steel-2Text',
        component: () =>
            import('../views/PCManage/coverManage/Steel-2Text.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 工程结构现场检测之钢筋保护层检测
    //工程结构现场检测之基桩工程检测管理

    {
        path: '/engineering', // 基桩工程信息
        name: 'Engineering',
        component: () =>
            import('../views/PCManage/pieManage/engineering.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/engineeringText',
        name: 'EngineeringText',
        component: () =>
            import('../views/PCManage/pieManage/engineeringText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 基桩检测信息
    {
        path: '/Monitoring',
        name: 'Monitoring',
        component: () =>
            import('../views/PCManage/pieManage/Monitoring.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/MonitoringText',
        name: 'MonitoringText',
        component: () =>
            import('../views/PCManage/pieManage/MonitoringText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 基桩检测统计
    {
        path: '/building',
        name: 'building',
        component: () =>
            import('../views/PCManage/pieManage/jisManage/building.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/section',
        name: 'section',
        component: () =>
            import('../views/PCManage/pieManage/jisManage/section.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/project',
        name: 'project',
        component: () =>
            import('../views/PCManage/pieManage/jisManage/project.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 基桩检测统计
    // 桩基检测任务
    {
        path: '/detectionTask',
        name: 'detectionTask',
        component: () =>
            import('../views/PCManage/pieManage/detectionTask/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 桩基检测任务
    {
        path: '/detectionTaskText',
        name: 'detectionTaskText',
        component: () =>
            import('../views/PCManage/pieManage/detectionTaskText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 桩基检测数据
    {
        path: '/pilesDetectedData',
        name: 'pilesDetectedData',
        component: () =>
            import('../views/PCManage/pieManage/pilesDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 成孔检测数据
    {
        path: '/holeDetectedData',
        name: 'holeDetectedData',
        component: () =>
            import('../views/PCManage/pieManage/holeDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 检测设备管理
    {
        path: '/testEquipmentManage',
        name: 'testEquipmentManage',
        component: () =>
            import('../views/PCManage/pieManage/testEquipmentManage/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    //工程结构现场检测之基桩工程检测管理
    // 工程结构现场检测

    // 拌合站
    // 监管系统

    // // 闭合记录
    // {
    //     path: '/closure',
    //     name: 'closure',
    //     component: () =>
    //         import('../views/HntManage/closure.vue')
    // },
    // {
    //     path: '/supervisionList',
    //     name: 'supervision',
    //     component: () =>
    //         import('../views/HntManage/supervisionList.vue')
    // },
    // // 砼-配合比--查看
    // {
    //     path: '/HntMixProportion',
    //     name: 'HntMixProportion',
    //     component: () =>
    //         import('../views/HntManage/coordinate/HntMixProportion.vue')
    // },
    // {
    //     path: '/HntMixProportionText',
    //     name: 'HntMixProportionText',
    //     component: () =>
    //         import('../views/HntManage/coordinate/HntMixProportionText.vue')
    // },
    // //   砼-设备检定--查看
    //   {
    //     path: '/EquipmentCalibration',
    //     name: 'EquipmentCalibration',
    //     component: () =>
    //         import('../views/HntManage/Equipment/EquipmentCalibration.vue')
    // },
    // //砼-设备检定--编辑
    // {
    //     path: '/EquipmentCalibrationText',
    //     name: 'EquipmentCalibrationText',
    //     component: () =>
    //         import('../views/HntManage/Equipment/EquipmentCalibrationText.vue')
    // },
    //     { // 生产用量
    //     path: '/productionAmount',
    //     name: 'productionAmount',
    //     component: () =>
    //         import('../views/HntManage/pcManage/productionAmount.vue')
    // },
    // { //材料用量
    //     path: '/materialConsumption',
    //     name: 'materialConsumption',
    //     component: () =>
    //         import('../views/HntManage/pcManage/materialConsumption.vue')
    // },
    //   // 水稳
    //   {
    //     path: '/instantly', //水稳-实时监控
    //     name: 'instantly',
    //     component: () =>
    //         import('@/views/WaterManage/trends/instantly/index.vue')
    // },
    // {
    //     path: '/Equipment', //水稳-设备检定查看
    //     name: 'Equipment',
    //     component: () =>
    //         import('@/views/WaterManage/Equipment/Equipment.vue')
    // },
    // {
    //     path: '/EquipmentText', //水稳-设备检定编辑
    //     name: 'EquipmentText',
    //     component: () =>
    //         import('@/views/WaterManage/Equipment/EquipmentText.vue')
    // },
    // { // 动态监控之实时数据
    //     path: '/real_timeData',
    //     name: 'real_timeData',
    //     component: () =>
    //         import('@/views/pitchManage/dyMonitorManage/real_timeData.vue')
    // },

    // {
    //     //沥青设备查看
    //     path: '/lqEquipment',
    //     name: 'lqEquipment',
    //     component: () =>
    //         import('@/views/pitchManage/Equipment/lqEquipment.vue')
    // },
    // {
    //     //沥青设备编辑
    //     path: '/lqEquipmentText',
    //     name: 'lqEquipmentText',
    //     component: () =>
    //         import('@/views/pitchManage/Equipment/lqEquipmentText.vue')
    // },
    // { //张拉--任务单--查看
    //     path: '/Tension_task_list',
    //     name: 'Tension_task_list',
    //     component: () =>
    //         import('../views/TensionAndGrout/TensionManage/Tension_task_list.vue')
    // },
    // { //张拉--任务单--编辑
    //     path: '/Tension_task_listText',
    //     name: 'Tension_task_listText',
    //     component: () =>
    //         import('../views/TensionAndGrout/TensionManage/Tension_task_listText.vue')
    // },
    // { // 动态监控之误差分析
    //     path: '/errorMonitoring',
    //     name: 'errorMonitoring',
    //     component: () =>
    //         import('@/views/pitchManage/dyMonitorManage/errorMonitoring.vue')
    // },
    // 张拉压浆
    //   { //张拉--实时数据查询
    //     path: '/TensionRealTime',
    //     name: 'TensionRealTime',
    //     component: () =>
    //         import('../views/TensionAndGrout/TensionManage/TensionRealTime.vue')
    // },
    // { //张拉--超标数据查询
    //     path: '/TensionExceedData',
    //     name: 'TensionExceedData',
    //     component: () =>
    //         import('../views/TensionAndGrout/TensionManage/TensionExceedData.vue')
    // },
    // { //压浆--任务单---查看
    //     path: '/Grout_task_list',
    //     name: 'Grout_task_list',
    //     component: () =>
    //         import('../views/TensionAndGrout/GroutManage/Grout_task_list.vue')
    // },
    // { //压浆--任务单---编辑
    //     path: '/Grout_task_listText',
    //     name: 'Grout_task_listText',
    //     component: () =>
    //         import('../views/TensionAndGrout/GroutManage/Grout_task_listText.vue')
    // },
    // { //压浆--实时数据查询
    //     path: '/GroutRealTime',
    //     name: 'GroutRealTime',
    //     component: () =>
    //         import('../views/TensionAndGrout/GroutManage/GroutRealTime.vue')
    // },

    // { //压浆--超标数据查询
    //     path: '/GroutExceedData',
    //     name: 'GroutExceedData',
    //     component: () =>
    //         import('../views/TensionAndGrout/GroutManage/GroutExceedData.vue')
    // },

    {
        path: '/superRecord', //水稳-超标记录
        name: 'superRecord',
        component: () =>
            import('@/views/WaterManage/trends/superRecord.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // {
    //     path: '/superRecord', //水稳-超标记录
    //     name: 'superRecord',
    //     component: () =>
    //         import('@/views/WaterManage/trends/superRecord/index.vue')
    // },
    {
        path: '/real_timeData',
        name: 'real_timeData',
        component: () =>
            import('../views/pitchManage/dyMonitorManage/real_timeData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 动态监控之误差分析
        path: '/errorMonitoring',
        name: 'errorMonitoring',
        component: () =>
            import('@/views/pitchManage/dyMonitorManage/errorMonitoring/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        //沥青设备查看
        path: '/lqEquipment',
        name: 'lqEquipment',
        component: () =>
            import('@/views/pitchManage/Equipment/lqEquipment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        //沥青设备编辑
        path: '/lqEquipmentText',
        name: 'lqEquipmentText',
        component: () =>
            import('@/views/pitchManage/Equipment/lqEquipmentText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--任务单--查看
        path: '/Tension_task_list',
        name: 'Tension_task_list',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/Tension_task_list/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--任务单--编辑
        path: '/Tension_task_listText',
        name: 'Tension_task_listText',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/Tension_task_listText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--实时数据查询
        path: '/TensionRealTime',
        name: 'TensionRealTime',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionRealTime/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--超标数据查询
        path: '/TensionExceedData',
        name: 'TensionExceedData',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionExceedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--任务单---查看
        path: '/Grout_task_list',
        name: 'Grout_task_list',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/Grout_task_list/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--任务单---编辑
        path: '/Grout_task_listText',
        name: 'Grout_task_listText',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/Grout_task_listText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--实时数据查询
        path: '/GroutRealTime',
        name: 'GroutRealTime',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutRealTime/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--超标数据查询
        path: '/GroutExceedData',
        name: 'GroutExceedData',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutExceedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/HntMixProportion',
        name: 'HntMixProportion',
        component: () =>
            import('../views/HntManage/coordinate/HntMixProportion/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-配合比--编辑

    {
        path: '/HntMixProportionText',
        name: 'HntMixProportionText',
        component: () =>
            import('../views/HntManage/coordinate/HntMixProportionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/supervisionList',
        name: 'supervision',
        component: () =>
            import('../views/HntManage/supervisionList/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/closure',
        name: 'closure',
        component: () =>
            import('../views/HntManage/closure/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-设备检定--查看
    {
        path: '/EquipmentCalibration',
        name: 'EquipmentCalibration',
        component: () =>
            import('../views/HntManage/Equipment/EquipmentCalibration/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 生产用量
        path: '/productionAmount',
        name: 'productionAmount',
        component: () =>
            import('../views/HntManage/pcManage/productionAmount/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //材料用量
        path: '/materialConsumption',
        name: 'materialConsumption',
        component: () =>
            import('../views/HntManage/pcManage/materialConsumption/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-设备检定--编辑
    {
        path: '/EquipmentCalibrationText',
        name: 'EquipmentCalibrationText',
        component: () =>
            import('../views/HntManage/Equipment/EquipmentCalibrationText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 水稳
    {
        path: '/instantly', //水稳-实时监控
        name: 'instantly',
        component: () =>
            import('@/views/WaterManage/trends/instantly/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/Equipment', //水稳-设备检定查看
        name: 'Equipment',
        component: () =>
            import('@/views/WaterManage/Equipment/Equipment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/EquipmentText', //水稳-设备检定编辑
        name: 'EquipmentText',
        component: () =>
            import('@/views/WaterManage/Equipment/EquipmentText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    //砼-场站塌陷度--查看
    {
        path: '/StationCollapse',
        name: 'StationCollapse',
        component: () =>
            import('../views/HntManage/Station/StationCollapse.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-场站塌陷度--编辑
    {
        path: '/StationCollapseText',
        name: 'StationCollapseText',
        component: () =>
            import('../views/HntManage/Station/StationCollapseText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-现场塌陷度--查看
    {
        path: '/siteCollapse',
        name: 'siteCollapse',
        component: () =>
            import('../views/HntManage/site/siteCollapse.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //砼-现场塌陷度--编辑
    {
        path: '/siteCollapseText',
        name: 'siteCollapseText',
        component: () =>
            import('../views/HntManage/site/siteCollapseText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 理论配合比--查看
    {
        path: '/theoreticalMix',
        name: 'theoreticalMix',
        component: () =>
            import('../views/HntManage/theoreticalMix/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 理论配合比--编辑
    {
        path: '/theoreticalMixText',
        name: 'theoreticalMixText',
        component: () =>
            import('../views/HntManage/theoreticalMixText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 施工配合比--查看
    {
        path: '/proportionMix',
        name: 'proportionMix',
        component: () =>
            import('../views/HntManage/proportionMix/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 施工配合比--编辑
    {
        path: '/proportionMixText',
        name: 'proportionMixText',
        component: () =>
            import('../views/HntManage/proportionMixText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 浇筑令管理--查看
    {
        path: '/pouringOrder',
        name: 'pouringOrder',
        component: () =>
            import('../views/HntManage/pouringOrder/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 浇筑令管理--编辑
    {
        path: '/pouringOrderText',
        name: 'pouringOrderText',
        component: () =>
            import('../views/HntManage/pouringOrderText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 产能分析
    {
        path: '/deliverability',
        name: 'deliverability',
        component: () =>
            import('../views/HntManage/bhManage/deliverability.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 材料用量分析
    {
        path: '/Consumption',
        name: 'Consumption',
        component: () =>
            import('../views/HntManage/bhManage/Consumption.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 材料偏差走势
    {
        path: '/deviationTrend',
        name: 'deviationTrend',
        component: () =>
            import('../views/HntManage/bhManage/deviationTrend.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 生产时间段分析
    {
        path: '/timePeriod',
        name: 'timePeriod',
        component: () =>
            import('../views/HntManage/bhManage/timePeriod.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 混凝土产量统计
    {
        path: '/output',
        name: 'output',
        component: () =>
            import('../views/HntManage/stManage/output.vue'),
        meta: {
            requiresAuth: true
        },
    }, // 混凝土超标统计
    {
        path: '/exceedance',
        name: 'exceedance',
        component: () =>
            import('../views/HntManage/stManage/exceedance.vue'),
        meta: {
            requiresAuth: true
        },
    }, // 原材消耗统计
    {
        path: '/material',
        name: 'material',
        component: () =>
            import('../views/HntManage/stManage/material.vue'),
        meta: {
            requiresAuth: true
        },
    },



    // { // 用量偏差
    //     path: '/dosageDeviation',
    //     name: 'dosageDeviation',
    //     component: () =>
    //         import('../views/HntManage/pcManage/dosageDeviation.vue')
    // },

    { //智能监控 联网状态
        path: '/networkStatus',
        name: 'networkStatus',
        component: () =>
            import('../views/HntManage/controlManage/networkStatus.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 拌合站设置
    {
        path: '/mixingPlant',
        name: 'mixingPlant',
        component: () =>
            import('../views/HntManage/TbhxtManage/mixingPlant.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 报警参数设置
    {
        path: '/alarmParameterSetting',
        name: 'alarmParameterSetting',
        component: () =>
            import('../views/HntManage/TbhxtManage/alarmParameterSetting.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 预警通知人员对象
    {
        path: '/warningObject',
        name: 'warningObject',
        component: () =>
            import('../views/HntManage/TbhxtManage/warningObject.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 预警短信模板
    {
        path: '/warningInformation',
        name: 'warningInformation',
        component: () =>
            import('../views/HntManage/TbhxtManage/warningInformation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 拌合站





    // {
    //     path: '/WaterClosure', //水稳-超标记录
    //     name: 'WaterClosure',
    //     component: () =>
    //         import('@/views/WaterManage/WaterClosure.vue')
    // },
    {
        path: '/waterProduce', //水稳-产能分析
        name: 'waterProduce',
        component: () =>
            import('@/views/WaterManage/analyse/waterProduce.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/waterConsumption', //水稳-材料用量
        name: 'waterConsumption',
        component: () =>
            import('@/views/WaterManage/analyse/waterConsumption.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/percentage', //水稳-材料百分比
        name: 'percentage',
        component: () =>
            import('@/views/WaterManage/analyse/percentage.vue'),
        meta: {
            requiresAuth: true
        },
    }, {
        path: '/WaterDeviation', //水稳-材料偏差
        name: 'WaterDeviation',
        component: () =>
            import('@/views/WaterManage/analyse/WaterDeviation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/waterOutput', //水稳-产量统计
        name: 'waterOutput',
        component: () =>
            import('@/views/WaterManage/statistics/waterOutput.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // {
    //     path: '/overstep', //水稳-超标统计
    //     name: 'overstep',
    //     component: () =>
    //         import('@/views/WaterManage/statistics/overstep.vue')
    // },
    {
        path: '/waterMaterial', //水稳-原材料消耗
        name: 'waterMaterial',
        component: () =>
            import('@/views/WaterManage/statistics/waterMaterial.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/networking', //水稳-联网状态
        name: 'networking',
        component: () =>
            import('@/views/WaterManage/intellect/networking.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/swMixingPlant', //水稳-系统设置
        name: 'swMixingPlant',
        component: () =>
            import('@/views/WaterManage/swHxtManage/swMixingPlant.vue'),
        meta: {
            requiresAuth: true
        },
    },

    {
        path: '/swAlarmParameterSetting', //水稳-材料超标参数设置
        name: 'swAlarmParameterSetting',
        component: () =>
            import('@/views/WaterManage/swHxtManage/swAlarmParameterSetting.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/sWwarningObject', //水稳-预警通知人员对象
        name: 'sWwarningObject',
        component: () =>
            import('@/views/WaterManage/swHxtManage/sWwarningObject.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/sWwarningInformation', //水稳-预警短信模板
        name: 'sWwarningInformation',
        component: () =>
            import('@/views/WaterManage/swHxtManage/sWwarningInformation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 
    // {
    //     path: '/collection', //水稳-采集状态
    //     name: 'collection',
    //     component: () =>
    //         import('@/views/WaterManage/intellect/collection.vue')
    // },
    // {
    //     path: '/unusual', //水稳-异常提醒
    //     name: 'unusual',
    //     component: () =>
    //         import('@/views/WaterManage/intellect/unusual.vue')
    // },
    // 水稳
    // 沥青

    // 动态监控

    {
        // 动态监控之实时监控
        path: '/real_timeMonitoring',
        name: 'real_timeMonitoring',
        component: () =>
            import('@/views/pitchManage/dyMonitorManage/real_timeMonitoring.vue'),
        meta: {
            requiresAuth: true
        },
    },




    // 动态监控

    // 数据分析之误差分析
    {
        path: '/errorAnalysis',
        name: 'errorAnalysis',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/errorAnalysis.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 数据分析之生产时间段分析
    {
        path: '/productionPeriod',
        name: 'productionPeriod',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/productionPeriod.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 数据分析之材料用量分析
    {
        path: '/materConsumption',
        name: 'materConsumption',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/materConsumption.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 数据分析之日统计
    {
        path: '/dayStatistics',
        name: 'dayStatistics',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/dayStatistics.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 数据分析之生产统计
    {
        path: '/productionStatistics',
        name: 'productionStatistics',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/productionStatistics.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // // 数据分析之生产信息
    // {
    //     path: '/ProductionInformation',
    //     name: 'ProductionInformation',
    //     component: () =>
    //         import('@/views/pitchManage/dataAnalysisManage/ProductionInformation.vue')
    // },
    // 数据分析之报警数据处理
    {
        path: '/alarmData',
        name: 'alarmData',
        component: () =>
            import('@/views/pitchManage/dataAnalysisManage/alarmData.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 智能检测之设备状态
    {
        path: '/equipmentStatus',
        name: 'equipmentStatus',
        component: () =>
            import('@/views/pitchManage/intelligentManage/equipmentStatus.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 统计分析之原材统计
    {
        path: '/rawMaterial',
        name: 'rawMaterial',
        component: () =>
            import('@/views/pitchManage/stAnalysisManage/rawMaterial.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 统计分析之产量统计
    {
        path: '/outputStatistics',
        name: 'outputStatistics',
        component: () =>
            import('@/views/pitchManage/stAnalysisManage/outputStatistics.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 统计分析之月统计
    {
        path: '/monthStatistics',
        name: 'monthStatistics',
        component: () =>
            import('@/views/pitchManage/stAnalysisManage/monthStatistics.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 基础设置之配合比管理
    {
        path: '/mixProportion',
        name: 'mixProportion',
        component: () =>
            import('@/views/pitchManage/bsManage/mixProportion.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 系统设置之报警参数设置
    {
        path: '/lqAlarmParameterSetting',
        name: 'lqAlarmParameterSetting',
        component: () =>
            import('@/views/pitchManage/lqxtManage/lqAlarmParameterSetting.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 系统设置之短信预警模板
    {
        path: '/lqWarningInformation',
        name: 'lqWarningInformation',
        component: () =>
            import('@/views/pitchManage/lqxtManage/lqWarningInformation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 系统设置之拌合站设置
    {
        path: '/lqMixingPlant',
        name: 'lqMixingPlant',
        component: () =>
            import('@/views/pitchManage/lqxtManage/lqMixingPlant.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 系统设置之预警通知对象人员
    {
        path: '/lqwarningObject',
        name: 'lqwarningObject',
        component: () =>

            import('@/views/pitchManage/lqxtManage/lqwarningObject.vue'),
        meta: {
            requiresAuth: true
        },
    },


    // 沥青

    {
        // 班组---查看
        path: '/groupClass',
        name: 'groupClass',
        component: () =>

            import('../views/QualityGridManage/group/groupClass.vue'),
        meta: {
            requiresAuth: true
        },
    },

    {
        // 班组---编辑
        path: '/groupClassText',
        name: 'groupClassText',
        component: () =>
            import('../views/QualityGridManage/group/groupClassText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 第三方检查---查看
        path: '/ThreeCheck',
        name: 'ThreeCheck',
        component: () =>
            import('../views/QualityGridManage/three/ThreeCheck.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 第三方检查---编辑
        path: '/ThreeCheckText',
        name: 'ThreeCheckText',
        component: () =>
            import('../views/QualityGridManage/three/ThreeCheckText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 工作指令--下发---查看
        path: '/distribute',
        name: 'distribute',
        component: () =>
            import('../views/QualityGridManage/workOrder/distribute/distribute.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 工作指令--下发---编辑
        path: '/distributeText',
        name: 'distributeText',
        component: () =>
            import('../views/QualityGridManage/workOrder/distribute/distributeText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 工作指令--执行---查看
        path: '/execute',
        name: 'execute',
        component: () =>
            import('../views/QualityGridManage/workOrder/execute/execute.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        // 工作指令--执行---编辑
        path: '/executeText',
        name: 'executeText',
        component: () =>
            import('../views/QualityGridManage/workOrder/execute/executeText.vue'),
        meta: {
            requiresAuth: true
        },
    },

    //工序报验-WBS工程划分
    {
        path: '/stationWorkList',
        name: 'stationWorkList',
        component: () =>
            import('../views/QualityGridManage/stationWork/stationWorkList.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //工序报验--查看
    {
        path: '/ProcessInspection',
        name: 'ProcessInspection',
        component: () =>
            import('../views/QualityGridManage/stationWork/ProcessInspection.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //工序报验--编辑
    {
        path: '/ProcessInspectionText',
        name: 'ProcessInspectionText',
        component: () =>
            import('../views/QualityGridManage/stationWork/ProcessInspectionText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //现场生产质量网格
    {
        path: '/stationQualityList',
        name: 'stationQualityList',
        component: () =>
            import('../views/QualityGridManage/grid/stationQuality/stationQualityList.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/stationQualityListText',
        name: 'stationQualityListText',
        component: () =>
            import('../views/QualityGridManage/grid/stationQuality/stationQualityListText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //场站/实体开工管理
    {
        path: '/startLook',
        name: 'startLook',
        component: () =>
            import('../views/QualityGridManage/grid/start/startLook.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/startText',
        name: 'startText',
        component: () =>
            import('../views/QualityGridManage/grid/start/startText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //质量管理责任网格
    {
        path: '/responsibility',
        name: 'responsibility',
        component: () =>
            import('../views/QualityGridManage/grid/responsibilityGrid/responsibility.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/responsibilityText',
        name: 'responsibilityText',
        component: () =>
            import('../views/QualityGridManage/grid/responsibilityGrid/responsibilityText.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //巡查问题
    {
        path: '/patrol',
        name: 'patrol',
        component: () =>
            import('../views/QualityGridManage/grid/patrol/patrol.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 张拉压浆


    { //张拉--超标数据处理
        path: '/TensionExceedHandle',
        name: 'TensionExceedHandle',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionExceedHandle.vue'),
        meta: {
            requiresAuth: true
        },
    },


    { //张拉-系统设置--梁场信息设置
        path: '/TensionBeamYard',
        name: 'TensionBeamYard',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionYjxtManage/TensionBeamYard.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警信息设置
        path: '/TensionEarlyWarning',
        name: 'TensionEarlyWarning',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionYjxtManage/TensionEarlyWarning.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警人员设置
        path: '/TensionWarningPerson',
        name: 'TensionWarningPerson',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionYjxtManage/TensionWarningPerson.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警短信模板管理
        path: '/TensionAlertTemplate',
        name: 'TensionAlertTemplate',
        component: () =>
            import('../views/TensionAndGrout/TensionManage/TensionYjxtManage/TensionAlertTemplate.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { //压浆--超标数据处理
        path: '/GroutExceedHandle',
        name: 'GroutExceedHandle',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutExceedHandle.vue'),
        meta: {
            requiresAuth: true
        },
    },


    { //压浆-系统设置--梁场信息设置
        path: '/GroutBeamYard',
        name: 'GroutBeamYard',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutYjxtManage/GroutBeamYard.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警信息设置
        path: '/GroutEarlyWarning',
        name: 'GroutEarlyWarning',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutYjxtManage/GroutEarlyWarning.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警人员设置
        path: '/GroutWarningPerson',
        name: 'GroutWarningPerson',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutYjxtManage/GroutWarningPerson.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警短信模板管理
        path: '/GroutAlertTemplate',
        name: 'GroutAlertTemplate',
        component: () =>
            import('../views/TensionAndGrout/GroutManage/GroutYjxtManage/GroutAlertTemplate.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 张拉压浆





    // 张拉压浆_瑞仓
    { //张拉--实时数据查询
        path: '/TensionRealTime_Ruicang',
        name: 'TensionRealTime_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionRealTime_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--超标数据查询
        path: '/TensionExceedData_Ruicang',
        name: 'TensionExceedData_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionExceedData_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--超标数据处理
        path: '/TensionExceedHandle_Ruicang',
        name: 'TensionExceedHandle_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionExceedHandle_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--任务单--查看
        path: '/Tension_task_list_Ruicang',
        name: 'Tension_task_list_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/Tension_task_list_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉--任务单--编辑
        path: '/Tension_task_list_RuicangText',
        name: 'Tension_task_list_RuicangText',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/Tension_task_listText_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { //张拉-系统设置--梁场信息设置
        path: '/TensionBeamYard_Ruicang',
        name: 'TensionBeamYard_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionYjxtManage_Ruicang/TensionBeamYard_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警信息设置
        path: '/TensionEarlyWarning_Ruicang',
        name: 'TensionEarlyWarning_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionYjxtManage_Ruicang/TensionEarlyWarning_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警人员设置
        path: '/TensionWarningPerson_Ruicang',
        name: 'TensionWarningPerson_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionYjxtManage_Ruicang/TensionWarningPerson_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //张拉-系统设置--预警短信模板管理
        path: '/TensionAlertTemplate_Ruicang',
        name: 'TensionAlertTemplate_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/TensionManage_Ruicang/TensionYjxtManage_Ruicang/TensionAlertTemplate_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--实时数据查询
        path: '/GroutRealTime_Ruicang',
        name: 'GroutRealTime_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutRealTime_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--超标数据查询
        path: '/GroutExceedData_Ruicang',
        name: 'GroutExceedData_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutExceedData_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--超标数据处理
        path: '/GroutExceedHandle_Ruicang',
        name: 'GroutExceedHandle_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutExceedHandle_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--任务单---查看
        path: '/Grout_task_list_Ruicang',
        name: 'Grout_task_list_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/Grout_task_list_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆--任务单---编辑
        path: '/Grout_task_list_RuicangText',
        name: 'Grout_task_list_RuicangText',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/Grout_task_listText_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { //压浆-系统设置--梁场信息设置
        path: '/GroutBeamYard_Ruicang',
        name: 'GroutBeamYard_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutYjxtManage_Ruicang/GroutBeamYard_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警信息设置
        path: '/GroutEarlyWarning_Ruicang',
        name: 'GroutEarlyWarning_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutYjxtManage_Ruicang/GroutEarlyWarning_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警人员设置
        path: '/GroutWarningPerson_Ruicang',
        name: 'GroutWarningPerson_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutYjxtManage_Ruicang/GroutWarningPerson_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //压浆-系统设置--预警短信模板管理
        path: '/GroutAlertTemplate_Ruicang',
        name: 'GroutAlertTemplate_Ruicang',
        component: () =>
            import('../views/TensionAndGrout_Ruicang/GroutManage_Ruicang/GroutYjxtManage_Ruicang/GroutAlertTemplate_Ruicang.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 张拉压浆_瑞仓



    // 材料数据字典
    { // 材料规格管理(B/S)
        path: '/specificationManagement',
        name: 'specificationManagement',
        component: () =>
            import('../views/materialDataManage/specificationManagement/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料规格管理(B/S)编辑
        path: '/specificationManagementText',
        name: 'specificationManagementText',
        component: () =>
            import('../views/materialDataManage/specificationManagementText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料种类管理(B/S)
        path: '/categoryManagement',
        name: 'categoryManagement',
        component: () =>
            import('../views/materialDataManage/categoryManagement/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料种类管理(B/S)编辑
        path: '/categoryManagementText',
        name: 'categoryManagementText',
        component: () =>
            import('../views/materialDataManage/categoryManagementText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 材料检测类别
        path: '/testCategory',
        name: 'testCategory',
        component: () =>
            import('../views/materialDataManage/testCategory/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 生产厂家
        path: '/manufacturer',
        name: 'manufacturer',
        component: () =>
            import('../views/materialDataManage/manufacturer/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 生产厂家编辑
        path: '/manufacturerText',
        name: 'manufacturerText',
        component: () =>
            import('../views/materialDataManage/manufacturerText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 供应商
        path: '/supplier',
        name: 'supplier',
        component: () =>
            import('../views/materialDataManage/supplier/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 供应商编辑
        path: '/supplierText',
        name: 'supplierText',
        component: () =>
            import('../views/materialDataManage/supplierText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 编号规则
        path: '/numberingRules',
        name: 'numberingRules',
        component: () =>
            import('../views/materialDataManage/numberingRules/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 编号规则编辑
        path: '/numberingRulesText',
        name: 'numberingRulesText',
        component: () =>
            import('../views/materialDataManage/numberingRulesText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料存放位置
        path: '/materialLocation',
        name: 'materialLocation',
        component: () =>
            import('../views/materialDataManage/materialLocation/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料存放位置编辑
        path: '/materialLocationText',
        name: 'materialLocationText',
        component: () =>
            import('../views/materialDataManage/materialLocationText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试件存放位置编辑
        path: '/testPieceLocation',
        name: 'testPieceLocation',
        component: () =>
            import('../views/materialDataManage/testPieceLocation/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试件存放位置编辑
        path: '/testPieceLocationText',
        name: 'testPieceLocationText',
        component: () =>
            import('../views/materialDataManage/testPieceLocationText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 试验闭合流程 
        path: '/experimentalClosureProcess',
        name: 'experimentalClosureProcess',
        component: () =>
            import('../views/materialDataManage/experimentalClosureProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 软基闭合流程
        path: '/softFoundationSeted',
        name: 'softFoundationSeted',
        component: () =>
            import('../views/materialDataManage/softFoundationSeted/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 回弹闭合流程 
        path: '/htOverSeting',
        name: 'htOverSeting',
        component: () =>
            import('../views/materialDataManage/htOverSeting/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 抽检频率设置
        path: '/randomInspection',
        name: 'randomInspection',
        component: () =>
            import('../views/materialDataManage/randomInspection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 

    // 
    // 材料数据字典
    // 原材料管理
    { // 材料进场台帐
        path: '/entryLedger',
        name: 'entryLedger',
        component: () =>
            import('../views/rawMaterialManage/entryLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料进场台帐编辑
        path: '/entryLedgerText',
        name: 'entryLedgerText',
        component: () =>
            import('../views/rawMaterialManage/entryLedgerText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料检测台帐
        path: '/inspectionLedger',
        name: 'inspectionLedger',
        component: () =>
            import('../views/rawMaterialManage/inspectionLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 检测频率统计 
        path: '/rawTestFrequency',
        name: 'rawTestFrequency',
        component: () =>
            import('../views/rawMaterialManage/rawTestFrequency/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 原材料管理
    // 样品抽检管理
    { // 检测频率统计 
        path: '/InTestFrequency',
        name: 'InTestFrequency',
        component: () =>
            import('../views/rawMaterialSampling/InTestFrequency/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检取样查看
        path: '/samplingInspection',
        name: 'samplingInspection',
        component: () =>
            import('../views/rawMaterialSampling/samplingInspection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检取样编辑
        path: '/samplingInspectionText',
        name: 'samplingInspectionText',
        component: () =>
            import('../views/rawMaterialSampling/samplingInspectionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检收样查看
        path: '/collectionInspection',
        name: 'collectionInspection',
        component: () =>
            import('../views/rawMaterialSampling/collectionInspection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检收样编辑
        path: '/collectionInspectionText',
        name: 'collectionInspectionText',
        component: () =>
            import('../views/rawMaterialSampling/collectionInspectionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	材料抽检台账
        path: '/materialSampleLedger',
        name: 'materialSampleLedger',
        component: () =>
            import('../views/rawMaterialSampling/materialSampleLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检委托----查看
        path: '/rawSampleMaterial',
        name: 'rawSampleMaterial',
        component: () =>
            import('../views/rawMaterialSampling/rawSampleMaterial/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检委托---编辑
        path: '/rawSampleMaterialText',
        name: 'rawSampleMaterialText',
        component: () =>
            import('../views/rawMaterialSampling/rawSampleMaterialText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 样品抽检管理

    // 现场抽检管理
    { // 施工申请单
        path: '/constructionInspection',
        name: 'constructionInspection',
        component: () =>
            import('../views/siteSampleManage/constructionInspection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	样品抽检取样查看
        path: '/constructionInspectionText',
        name: 'constructionInspectionText',
        component: () =>
            import('../views/siteSampleManage/constructionInspectionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	监理抽检单
        path: '/supervisionSample',
        name: 'supervisionSample',
        component: () =>
            import('../views/siteSampleManage/supervisionSample/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	检测频率统计
        path: '/testFrequency',
        name: 'testFrequency',
        component: () =>
            import('../views/siteSampleManage/testFrequency/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 现场抽检管理
    // 见证取样管理
    { // 现场见证取样--查看
        path: '/fieldSampling',
        name: 'fieldSampling',
        component: () =>
            import('../views/sampleManage/fieldSampling/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 现场见证取样--编辑
        path: '/fieldSamplingText',
        name: 'fieldSamplingText',
        component: () =>
            import('../views/sampleManage/fieldSamplingText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 样品室内收样--查看
        path: '/collection',
        name: 'collection',
        component: () =>
            import('../views/sampleManage/collection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 样品室内收样--编辑
        path: '/collectionText',
        name: 'collectionText',
        component: () =>
            import('../views/sampleManage/collectionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料检测委托单--查看
        path: '/sampleMaterial',
        name: 'sampleMaterial',
        component: () =>
            import('../views/sampleManage/sampleMaterial/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料检测委托单--编辑
        path: '/sampleMaterialText',
        name: 'sampleMaterialText',
        component: () =>
            import('../views/sampleManage/sampleMaterialText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 见证取样管理


    // 试验检测管理
    { // 备案信息管理
        path: '/filing',
        name: 'filing',
        component: () =>
            import('../views/testDetectionManage/filing/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 样品登记台帐
        path: '/samplesLedger',
        name: 'samplesLedger',
        component: () =>
            import('../views/testDetectionManage/samplesLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测报告台帐
        path: '/testingLedger',
        name: 'testingLedger',
        component: () =>
            import('../views/testDetectionManage/testingLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 样品登记台帐
        path: '/jlSamplesLedger',
        name: 'jlSamplesLedger',
        component: () =>
            import('../views/testDetectionManage/jlSamplesLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测报告台帐
        path: '/jlTestingLedger',
        name: 'jlTestingLedger',
        component: () =>
            import('../views/testDetectionManage/jlTestingLedger/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 不合格报告管理--查看
        path: '/unqualifiedReport',
        name: 'unqualifiedReport',
        component: () =>
            import('../views/testDetectionManage/unqualifiedReport/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // { // 不合格报告管理--编辑
    //     path: '/unqualifiedReportText',
    //     name: 'unqualifiedReportText',
    //     component: () =>
    //         import('../views/testDetectionManage/unqualifiedReportText/index.vue')
    // },
    { // 材料报验单管理--查看
        path: '/InspectionForm',
        name: 'InspectionForm',
        component: () =>
            import('../views/testDetectionManage/InspectionForm/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 材料报验单管理--编辑
        path: '/InspectionFormText',
        name: 'InspectionFormText',
        component: () =>
            import('../views/testDetectionManage/InspectionFormText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 预警通知人员对象
        path: '/testWarningObject',
        name: 'testWarningObject',
        component: () =>
            import('../views/testDetectionManage/testWarningObject.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	预警短信模板管理

        path: '/testWarningInformation',
        name: 'testWarningInformation',
        component: () =>
            import('../views/testDetectionManage/testWarningInformation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 试验检测管理

    // 外委检测管理
    { // 外委样品管理
        path: '/outsourcedSample',
        name: 'outsourcedSample',
        component: () =>
            import('../views/outsourcedManage/outsourcedSample/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 外委样品管理编辑
        path: '/outsourcedSampleText',
        name: 'outsourcedSampleText',
        component: () =>
            import('../views/outsourcedManage/outsourcedSampleText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 外委报告管理
        path: '/qualificationReport',
        name: 'qualificationReport',
        component: () =>
            import('../views/outsourcedManage/qualificationReport/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 外委报告管理编辑
        path: '/qualificationReportText',
        name: 'qualificationReportText',
        component: () =>
            import('../views/outsourcedManage/qualificationReportText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 外委样品管理
        path: '/outUnQualifiedReports',
        name: 'outUnQualifiedReports',
        component: () =>
            import('../views/outsourcedManage/outUnQualifiedReports/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 外委样品管理编辑
        path: '/outUnQualifiedReportsText',
        name: 'outUnQualifiedReportsText',
        component: () =>
            import('../views/outsourcedManage/outUnQualifiedReportsText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 外委检测管理
    // 智能养护管理
    { // 试件入库管理
        path: '/sampleStorage',
        name: 'sampleStorage',
        component: () =>
            import('../views/intelligentMaintenanceManage/sampleStorage/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试件出库管理
        path: '/sampleOutbound',
        name: 'sampleOutbound',
        component: () =>
            import('../views/intelligentMaintenanceManage/sampleOutbound/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 温湿度在线监控
        path: '/temperature&humidity',
        name: 'temperature&humidity',
        component: () =>
            import('../views/intelligentMaintenanceManage/temperature&humidity/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 智能养护管理
    // 试验机联网
    { // 待试验样品
        path: '/sampleTestedManage',
        name: 'sampleTestedManage',
        component: () =>
            import('../views/machineNetworkManage/sampleTestedManage/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 预警通知人员对象
        path: '/machineWarningObject',
        name: 'machineWarningObject',
        component: () =>
            import('../views/machineNetworkManage/machineWarningObject.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 	预警短信模板管理

        path: '/machineWarningInformation',
        name: 'machineWarningInformation',
        component: () =>
            import('../views/machineNetworkManage/machineWarningInformation.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之压力机数据监控
        path: '/pressDataMonitor',
        name: 'pressDataMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/pressDataMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之万能机数据监控
        path: '/zigzagDataMonitor',
        name: 'zigzagDataMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/zigzagDataMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之抗折抗压机数据监控
        path: '/compressivePressDataMonitor',
        name: 'compressivePressDataMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/compressivePressDataMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青设备监控--针入度
        path: '/penetrationMonitor',
        name: 'penetrationMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltEquipmentMonitor/penetrationMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青设备监控--软化点
        path: '/softenPointMonitor',
        name: 'softenPointMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltEquipmentMonitor/penetrationMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青设备监控--延度
        path: '/ductilityMonitor',
        name: 'ductilityMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltEquipmentMonitor/ductilityMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青混合料监控--稳定度
        path: '/stabilityMonitor',
        name: 'stabilityMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltMixtureMonitor/stabilityMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青混合料监控--沥青含量
        path: '/asphaltContentMonitor',
        name: 'asphaltContentMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltMixtureMonitor/asphaltContentMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据监控之沥青混合料监控--车辙
        path: '/rutMonitor',
        name: 'rutMonitor',
        component: () =>
            import('../views/machineNetworkManage/testDataMonitorManage/asphaltMixtureMonitor/rutMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 试验数据处理之压力机数据处理
        path: '/pressDataProcess',
        name: 'pressDataProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/pressDataProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之万能机数据处理
        path: '/zigzagDataProcess',
        name: 'zigzagDataProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/zigzagDataProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 试验数据处理之不合格数据处理记录
        path: '/dataProcessRecords',
        name: 'dataProcessRecords',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/dataProcessRecords/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之抗折抗压机数据处理
        path: '/compressivePressDataProcess',
        name: 'compressivePressDataProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/compressivePressDataProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青设备处理--针入度
        path: '/penetrationProcess',
        name: 'penetrationProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltEquipmentProcess/penetrationProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青设备处理--软化点
        path: '/softenPointProcess',
        name: 'softenPointProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltEquipmentProcess/penetrationProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青设备处理--延度
        path: '/ductilityProcess',
        name: 'ductilityProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltEquipmentProcess/ductilityProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青混合料处理--稳定度
        path: '/stabilityProcess',
        name: 'stabilityProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltMixtureProcess/stabilityProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青混合料处理--沥青含量
        path: '/asphaltContentProcess',
        name: 'asphaltContentProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltMixtureProcess/asphaltContentProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 试验数据处理之沥青混合料处理--车辙
        path: '/rutProcess',
        name: 'rutProcess',
        component: () =>
            import('../views/machineNetworkManage/testDataProcessManage/asphaltMixtureProcess/rutProcess/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 数据统计分析--混凝土质量趋势
        path: '/concreteQuality',
        name: 'concreteQuality',
        component: () =>
            import('../views/machineNetworkManage/analysisDataManage/concreteQuality/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 数据统计分析--钢筋质量趋势
        path: '/rebarQuality',
        name: 'rebarQuality',
        component: () =>
            import('../views/machineNetworkManage/analysisDataManage/rebarQuality/index.vue'),
        meta: {
            requiresAuth: true
        },
    }, { // 数据统计分析--水泥质量趋势
        path: '/cementQuality',
        name: 'cementQuality',
        component: () =>
            import('../views/machineNetworkManage/analysisDataManage/cementQuality/index.vue'),
        meta: {
            requiresAuth: true
        },
    }, { // 数据统计分析--砂浆质量趋势
        path: '/mortarQuality',
        name: 'mortarQuality',
        component: () =>
            import('../views/machineNetworkManage/analysisDataManage/mortarQuality/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 数据统计分析--净浆质量趋势
        path: '/pasteQuality',
        name: 'pasteQuality',
        component: () =>
            import('../views/machineNetworkManage/analysisDataManage/pasteQuality/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 试验机联网




    // 回弹强度检测
    { // 回弹数据字典--检测判定依据
        path: '/detectionCriteria',
        name: 'detectionCriteria',
        component: () =>
            import('../views/reboundStrengthManage/reboundDataDictionary/detectionCriteria/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹数据字典--检测判定依据
        path: '/detectionCriteriaText',
        name: 'detectionCriteriaText',
        component: () =>
            import('../views/reboundStrengthManage/reboundDataDictionary/detectionCriteriaText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹数据字典--回弹检测设备
        path: '/reboundDetectionEquipment',
        name: 'reboundDetectionEquipment',
        component: () =>
            import('../views/reboundStrengthManage/reboundDataDictionary/reboundDetectionEquipment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹数据字典--回弹检测设备
        path: '/reboundDetectionEquipmentText',
        name: 'reboundDetectionEquipmentText',
        component: () =>
            import('../views/reboundStrengthManage/reboundDataDictionary/reboundDetectionEquipmentText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },


    { // 回弹委托单查看
        path: '/reboundEntrust',
        name: 'reboundEntrust',
        component: () =>
            import('../views/reboundStrengthManage/reboundEntrust/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹委托单编辑
        path: '/reboundEntrustText',
        name: 'reboundEntrustText',
        component: () =>
            import('../views/reboundStrengthManage/reboundEntrustText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 回弹检测任务--查看
        path: '/reboundDetectionTask',
        name: 'reboundDetectionTask',
        component: () =>
            import('../views/reboundStrengthManage/reboundDetectionTask/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹检测任务--编辑
        path: '/reboundDetectionTaskText',
        name: 'reboundDetectionTaskText',
        component: () =>
            import('../views/reboundStrengthManage/reboundDetectionTaskText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹检测数据--查看
        path: '/reboundDetectionData',
        name: 'reboundDetectionData',
        component: () =>
            import('../views/reboundStrengthManage/reboundDetectionData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹检测数据--编辑
        path: '/reboundDetectionDataText',
        name: 'reboundDetectionDataText',
        component: () =>
            import('../views/reboundStrengthManage/reboundDetectionDataText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹记录审批--查看
        path: '/reboundRecordApproval',
        name: 'reboundRecordApproval',
        component: () =>
            import('../views/reboundStrengthManage/reboundRecordApproval/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹记录审批--编辑
        path: '/reboundRecordApprovalText',
        name: 'reboundRecordApprovalText',
        component: () =>
            import('../views/reboundStrengthManage/reboundRecordApprovalText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 不合格数据管理--查看
        path: '/reboundUnqualifiedData',
        name: 'reboundUnqualifiedData',
        component: () =>
            import('../views/reboundStrengthManage/reboundUnqualifiedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 回弹强度检测



    // 钢保厚度检测
    { // 钢保厚度检测--检测判定依据--查看
        path: '/rebarDetectionCriteria',
        name: 'rebarDetectionCriteria',
        component: () =>
            import('../views/rebarThicknessManage/rebarDataDictionary/rebarDetectionCriteria/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保厚度检测--检测判定依据--编辑
        path: '/rebarDetectionCriteriaText',
        name: 'rebarDetectionCriteriaText',
        component: () =>
            import('../views/rebarThicknessManage/rebarDataDictionary/rebarDetectionCriteriaText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保厚度检测--回弹检测设备--查看
        path: '/rebarDetectionEquipment',
        name: 'rebarDetectionEquipment',
        component: () =>
            import('../views/rebarThicknessManage/rebarDataDictionary/rebarDetectionEquipment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保厚度检测--回弹检测设备--编辑
        path: '/rebarDetectionEquipmentText',
        name: 'rebarDetectionEquipmentText',
        component: () =>
            import('../views/rebarThicknessManage/rebarDataDictionary/rebarDetectionEquipmentText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 钢保委托单查看
        path: '/rebarEntrust',
        name: 'rebarEntrust',
        component: () =>
            import('../views/rebarThicknessManage/rebarEntrust/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹委托单编辑
        path: '/rebarEntrustText',
        name: 'rebarEntrustText',
        component: () =>
            import('../views/rebarThicknessManage/rebarEntrustText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 钢保检测任务--查看
        path: '/rebarDetectionTask',
        name: 'rebarDetectionTask',
        component: () =>
            import('../views/rebarThicknessManage/rebarDetectionTask/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保检测任务--编辑
        path: '/rebarDetectionTaskText',
        name: 'rebarDetectionTaskText',
        component: () =>
            import('../views/rebarThicknessManage/rebarDetectionTaskText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保检测数据--查看
        path: '/rebarDetectionData',
        name: 'rebarDetectionData',
        component: () =>
            import('../views/rebarThicknessManage/rebarDetectionData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保检测数据--编辑
        path: '/rebarDetectionDataText',
        name: 'rebarDetectionDataText',
        component: () =>
            import('../views/rebarThicknessManage/rebarDetectionDataText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 厚度记录审批--查看
        path: '/rebarRecordApproval',
        name: 'rebarRecordApproval',
        component: () =>
            import('../views/rebarThicknessManage/rebarRecordApproval/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 厚度记录审批--编辑
        path: '/rebarRecordApprovalText',
        name: 'rebarRecordApprovalText',
        component: () =>
            import('../views/rebarThicknessManage/rebarRecordApprovalText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 不合格数据管理
        path: '/rebarUnqualifiedData',
        name: 'rebarUnqualifiedData',
        component: () =>
            import('../views/rebarThicknessManage/rebarUnqualifiedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 钢保厚度检测



    // 软基
    { // 软基施工监管--成桩数据管理
        path: '/pileDataManage',
        name: 'pileDataManage',
        component: () =>
            import('../views/softFoundationManage/pileDataManage/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 软基施工监管--软基设备参数信息
        path: '/overLimitMonitor',
        name: 'overLimitMonitor',
        component: () =>
            import('../views/softFoundationManage/overLimitMonitor/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 软基施工监管--软基施工设置--equipmentParameterInformation
        path: '/equipmentParameterInformation',
        name: 'equipmentParameterInformation',
        component: () =>
            import('../views/softFoundationManage/softFoundationSet/equipmentParameterInformation/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 软基施工监管--软基施工设置--预警短信模板管理
        path: '/softWarningInformation',
        name: 'softWarningInformation',
        component: () =>
            import('../views/softFoundationManage/softFoundationSet/softWarningInformation/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 软基施工监管--软基施工设置--预警通知人员对象
        path: '/softwarningObject',
        name: 'softwarningObject',
        component: () =>
            import('../views/softFoundationManage/softFoundationSet/softwarningObject/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 软基
    // 环境监测

    { // 环境监测--监测记录
        path: '/testingRecord',
        name: 'testingRecord',
        component: () =>
            import('../views/environmentalMonitorManage/testingRecord/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 环境监测--设备管理
        path: '/equipmentEnvironment',
        name: 'equipmentEnvironment',
        component: () =>
            import('../views/environmentalMonitorManage/equipmentEnvironment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    // 环境监测

    { // 安全监测--龙门吊监测
        path: '/gantryCrane',
        name: 'gantryCrane',
        component: () =>
            import('../views/safetyMonitorManage/gantryCrane/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--架桥机监测
        path: '/launchGantry',
        name: 'launchGantry',
        component: () =>
            import('../views/safetyMonitorManage/launchGantry/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--塔吊监测
        path: '/towerCrane',
        name: 'towerCrane',
        component: () =>
            import('../views/safetyMonitorManage/towerCrane/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--挂篮监测
        path: '/hangingBasket',
        name: 'hangingBasket',
        component: () =>
            import('../views/safetyMonitorManage/hangingBasket/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--智慧用电
        path: '/electricityConsumption',
        name: 'electricityConsumption',
        component: () =>
            import('../views/safetyMonitorManage/electricityConsumption/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--系统设置--预警设置（智慧用电）
        path: '/warnSetElectricity',
        name: 'warnSetElectricity',
        component: () =>
            import('../views/safetyMonitorManage/settingSafeyManage/warnSetElectricity/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--系统设置--设备管理
        path: '/equipmentSafey',
        name: 'equipmentSafey',
        component: () =>
            import('../views/safetyMonitorManage/settingSafeyManage/equipmentSafey/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 安全监测--系统设置--预警设置（龙门吊）
        path: '/warnSetSafey',
        name: 'warnSetSafey',
        component: () =>
            import('../views/safetyMonitorManage/settingSafeyManage/warnSetSafey/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 安全监测
    // 外业
    { // 检测判定依据
        path: '/judgmentCriteria',
        name: 'judgmentCriteria',
        component: () =>
            import('../views/fieldTestManage/dataDictionaryManage/judgmentCriteria/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测判定依据编辑
        path: '/judgmentCriteriaText',
        name: 'judgmentCriteriaText',
        component: () =>
            import('../views/fieldTestManage/dataDictionaryManage/judgmentCriteriaText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测设备
        path: '/testsEquipment',
        name: 'testsEquipment',
        component: () =>
            import('../views/fieldTestManage/dataDictionaryManage/testsEquipment/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测设备编辑
        path: '/testsEquipmentText',
        name: 'testsEquipmentText',
        component: () =>
            import('../views/fieldTestManage/dataDictionaryManage/testsEquipmentText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 委托单列表--编辑
        path: '/fieldCommissionText',
        name: 'fieldCommissionText',
        component: () =>
            import('../views/fieldTestManage/fieldCommissionText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 委托单列表--查看
        path: '/fieldCommission',
        name: 'fieldCommission',
        component: () =>
            import('../views/fieldTestManage/fieldCommission/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 任务单列表--编辑
        path: '/fieldTaskText',
        name: 'fieldTaskText',
        component: () =>
            import('../views/fieldTestManage/fieldTaskText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 检测设备管理--编辑
        path: '/fieldTestEquipmentManage',
        name: 'fieldTestEquipmentManage',
        component: () =>
            import('../views/fieldTestManage/fieldTestEquipmentManage/index.vue'),
        meta: {
            requiresAuth: true
        },
    },

    { // 任务单列表--查看
        path: '/fieldTask',
        name: 'fieldTask',
        component: () =>
            import('../views/fieldTestManage/fieldTask/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保检测--查看
        path: '/fieldSteelProtection',
        name: 'fieldSteelProtection',
        component: () =>
            import('../views/fieldTestManage/fieldSteelProtection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹检测--查看
        path: '/fieldReboundDetection',
        name: 'fieldReboundDetection',
        component: () =>
            import('../views/fieldTestManage/fieldReboundDetection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 桩基检测--查看
        path: '/fieldPilesDetectedData',
        name: 'fieldPilesDetectedData',
        component: () =>
            import('../views/fieldTestManage/fieldPilesDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 成孔检测--查看
        path: '/fieldHoleDetectedData',
        name: 'fieldHoleDetectedData',
        component: () =>
            import('../views/fieldTestManage/fieldHoleDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 外业

    //新 外业
    { // 任务单列表--编辑
        path: '/newFieldTaskText',
        name: 'newFieldTaskText',
        component: () =>
            import('../views/newFieldTestManage/newFieldTaskText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 任务单列表--查看
        path: '/newFieldTask',
        name: 'newFieldTask',
        component: () =>
            import('../views/newFieldTestManage/newFieldTask/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 钢保检测--查看
        path: '/newFieldSteelProtection',
        name: 'newFieldSteelProtection',
        component: () =>
            import('../views/newFieldTestManage/newFieldSteelProtection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 回弹检测--查看
        path: '/newFieldReboundDetection',
        name: 'newFieldReboundDetection',
        component: () =>
            import('../views/newFieldTestManage/newFieldReboundDetection/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 桩基检测--查看
        path: '/newFieldPilesDetectedData',
        name: 'newFieldPilesDetectedData',
        component: () =>
            import('../views/newFieldTestManage/newFieldPilesDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 成孔检测--查看
        path: '/newFieldHoleDetectedData',
        name: 'newFieldHoleDetectedData',
        component: () =>
            import('../views/newFieldTestManage/newFieldHoleDetectedData/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //新 外业

    // 地磅
    // 材料进出场
    { // 进场--查看
        path: '/materialEntr',
        name: 'materialEntr',
        component: () =>
            import('../views/materialEntryExitManage/materialEntr/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { // 出场--查看
        path: '/materialExit',
        name: 'materialExit',
        component: () =>
            import('../views/materialEntryExitManage/materialExit/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 磅站
    {
        path: '/weighingStationInfo',
        name: 'weighingStationInfo',
        component: () =>
            import('../views/materialEntryExitManage/weighingStationParameters/weighingStationInfo.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 地磅

    // 工地试验室
    // 试验室信息
    {
        path: '/laboratoryInformation',
        name: 'laboratoryInformation',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/laboratoryInformation/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 功能室设置
    {
        path: '/functionSet',
        name: 'functionSet',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/functionSet/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/functionSetText',
        name: 'functionSetText',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/functionSetText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 检测人员信息
    {
        path: '/testPersonnelInfo',
        name: 'testPersonnelInfo',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/testPersonnelInfo/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/testPersonnelInfoText',

        name: 'testPersonnelInfoText',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/testPersonnelInfoText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 仪器设备信息
    {
        path: '/instrumentEquipmentInfo',
        name: 'instrumentEquipmentInfo',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/instrumentEquipmentInfo/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/instrumentEquipmentInfoText',
        name: 'instrumentEquipmentInfoText',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/instrumentEquipmentInfoText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 仪器设备信息
    {
        path: '/equipmentVerificationCalibration',
        name: 'equipmentVerificationCalibration',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/equipmentVerificationCalibration/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    {
        path: '/equipmentVerificationCalibrationText',
        name: 'equipmentVerificationCalibrationText',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/equipmentVerificationCalibrationText/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 仪器设备信息
    {
        path: '/equipmentUsageRecord',
        name: 'equipmentUsageRecord',
        component: () =>
            import('../views/constructionSiteLaboratoryManage/equipmentUsageRecord/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // 工地试验室
    // 摊铺碾压
    { //施工组
        path: '/group',
        name: 'yj_group',
        component: () =>
            import('../views/pavingRolling/group/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //施工现场
        path: '/live',
        name: 'yj_live',
        component: () =>
            import('../views/pavingRolling/live/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //作业面
        path: '/place',
        name: 'yj_place',
        component: () =>
            import('../views/pavingRolling/place/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //进度管理
        path: '/progress',
        name: 'yj_progress',
        component: () =>
            import('../views/pavingRolling/progress/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //工艺管理
        path: '/technical',
        name: 'yj_technical',
        component: () =>
            import('../views/pavingRolling/technical/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //面层管理
        path: '/layer',
        name: 'yj_layer',
        component: () =>
            import('../views/pavingRolling/layer/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //工程机械
        path: '/machine',
        name: 'yj_machine',
        component: () =>
            import('../views/pavingRolling/machine/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //道路管理
        path: '/way',
        name: 'yj_way',
        component: () =>
            import('../views/pavingRolling/way/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    //   { //道路编辑
    //     path: '/wayedit',
    //     name: 'yj_wayedit',
    //     component: () =>
    //       import('../views/pavingRolling/wayedit/index.vue')
    //   },
    // 摊铺碾压

    // 路基压实
    { //施工组
        path: '/compacGroup',
        name: 'compacGroup',
        component: () =>
            import('../views/subgradeCompac/compacGroup/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //施工现场
        path: '/compacLive',
        name: 'compacLive',
        component: () =>
            import('../views/subgradeCompac/compacLive/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //作业面
        path: '/compacPlace',
        name: 'compacPlace',
        component: () =>
            import('../views/subgradeCompac/compacPlace/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //进度管理
        path: '/compacProgress',
        name: 'compacProgress',
        component: () =>
            import('../views/subgradeCompac/compacProgress/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //工艺管理
        path: '/compacTechnical',
        name: 'compacTechnical',
        component: () =>
            import('../views/subgradeCompac/compacTechnical/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //面层管理
        path: '/compacLayer',
        name: 'compacLayer',
        component: () =>
            import('../views/subgradeCompac/compacLayer/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //工程机械
        path: '/compacMachine',
        name: 'compacMachine',
        component: () =>
            import('../views/subgradeCompac/compacMachine/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    { //道路管理
        path: '/compacWay',
        name: 'compacWay',
        component: () =>
            import('../views/subgradeCompac/compacWay/index.vue'),
        meta: {
            requiresAuth: true
        },
    },
    // { //道路编辑
    //     path: '/compacWayedit',
    //     name: 'compacWayedit',
    //     component: () =>
    //         import('../views/subgradeCompac/compacWayedit/index.vue')
    // },
    // 路基压实
    // 运输车辆定位

    { // 车辆运输轨迹
        path: '/trantrajectory',
        name: 'trantrajectory',
        component: () =>
            import('../views/transportVpo/trantrajectory/index.vue'),
        meta: {
            requiresAuth: true
        },
    },



    //系统管理 组织机构
    {
        path: '/mechanism',
        name: 'mechanism',
        component: () =>
            import('../views/SysManage/BaseManage/mechanism.vue')
    },
    {
        path: '/department',
        name: 'department',
        component: () =>
            import('../views/SysManage/BaseManage/department.vue')
    },
    {
        path: '/postManagement',
        name: 'postManagement',
        component: () =>
            import('../views/SysManage/BaseManage/postManagement.vue')
    },
    {
        path: '/roleManagement',
        name: 'roleManagement',
        component: () =>
            import('../views/SysManage/BaseManage/roleManagement.vue')
    }, {
        path: '/user',
        name: 'user',
        component: () =>
            import('../views/SysManage/BaseManage/user.vue')
    },

    // 数据字典主页面
    {
        path: '/dictionaryPage',
        name: 'DictionaryPage',
        component: () =>
            import('../views/SysManage/dictionaryPage.vue')
    },
    // 系统功能
    {
        path: '/systemData',
        name: 'SystemData',
        component: () =>
            import('../views/SysManage/systemData.vue')
    },


    ]
}
]

const router = new VueRouter({
    // mode: 'history',
    // base: process.env.BASE_URL,
    routes
})

// var code = JSON.parse(sessionStorage.getItem("GxBack-ModuleList"))
// 导航守卫
// 使用 router.beforeEach 注册一个全局前置守卫，判断用户是否登陆
router.beforeEach((to, from, next) => {
    //如果去往登录页则放行 
    if (to.path === '/') {
        next();
    } else if (to.path === '/loginfree') {
        next();
    } else if (to.path === '/loginHttps') {
        next();
    } else if (to.path === '/detailedClose') {
        next();
    } else if (to.path === '/unqualifiedReportSingleSign') {
        next();
    } else if (to.path === '/bigScreen') {
        next();
    } else if (to.path === '/bigScreens') {
        next();
    } else {
        // if (to.meta.requiresAuth == true) {
        //     if (JSON.parse(sessionStorage.getItem("GxBack-userInfo")).enCode != "System") {
        //         if (code.some(item => item.fEncode.includes(to.name))) {
        //             next();
        //         } else {
        //             next({
        //                 path: '/'
        //             });
        //         }
        //     }
        // }
        // console.log(5555, localStorage.getItem('GxBack-token'));
        // 从本地存储里获取token
        let token = window.sessionStorage.getItem('GxBack-token');
        // 判断token是否为空如果为空则跳转到登录页 如果有则放行
        if (token === null || token === '') {
            next({
                path: '/'
            });
        } else {
            next();
        }



        let userInfo = sessionStorage.getItem('GxBack-userInfo')
        if (userInfo === null || userInfo === '') {
            next({
                path: '/'
            });
        } else {
            next();
        }
    }



});

export default router